<template>
  <div>
    <div class="container" :class="{'mobile_container' : isMobile}">
      <topHeader></topHeader>

      <div class="banner">
        <img src="../assets/image/business_banner.jpg" alt="">
      </div>
      <div class="content wrapper">
        <div class="item">
          <i class="icon"></i>
          <span>直营合作</span>
          <p>合作伙伴投资共建</p>
          <p>斑马公学专业团队运营管理</p>
          <p>投资回报率高达30%－40%</p>
        </div>
        <div class="item">
          <i class="icon"></i>
          <span>联营合作</span>
          <p>合作伙伴提供现有场地闲置时间</p>
          <p>斑马公学专业团队入驻运营</p>
          <p>合作分成利益共享</p>
        </div>
        <div class="item">
          <i class="icon"></i>
          <span>课程系统合作</span>
          <p>合作伙伴自营机构</p>
          <p>斑马公学提供课程及数据系统</p>
          <p>提升品牌形象和招生效果</p>
        </div>
      </div>

      <copyRight></copyRight>
    </div>
  </div>
</template>

<style scoped>
  .mobile_container .banner {
    padding-top: 2.133333rem;
  }
  .mobile_container .content .item {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom:2.133333rem;
    padding: 0 .533333rem;
    box-sizing: border-box;
  }

  .banner {
    min-width: 1200px;
  }
  .mobile_container .banner {
    min-width: 100%;
  }


  .container .banner img {
    width: 100%;
  }
  .container .content{
    margin: 140px auto 300px !important;
  }
  .mobile_container .content {
    margin: 1.333333rem auto 2.666667rem !important
  }
  .container .content .item{
    display: inline-block;
    text-align: center;
    margin-right: 240px;
  }
  .container .content .item:last-child {
    margin-right: 0 !important;
  }

  .container .content .item i {
    display: inline-block;
  }
  .container .content .item span {
    display: block;
    width: 137px;
    height: 40px;
    background: #EF8D3E;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    color: #fff;
    margin: 40px auto;
  }
  .container .content .item p {
    color: #666666;
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .container .content .item:nth-child(1) i {
    width: 256px;
    height: 160px;
    background: url('../assets/image/business_icon1.png') 0 0 no-repeat;
    background-size: 100%;
  }
  .container .content .item:nth-child(2) i {
    width: 185px;
    height: 205px;
    background: url('../assets/image/business_icon2.png') 0 0 no-repeat;
    background-size: 100%;
  }
  .container .content .item:nth-child(3) i {
    width: 203px;
    height: 166px;
    background: url('../assets/image/business_icon3.png') 0 0 no-repeat;
    background-size: 100%;
  }

</style>

<script>
import copyRight from './common/copyRight'
import topHeader from './common/topHeader'

export default {
  name: 'business',
  data() {
    return {
      tab_id: 0,
      isMobile: false,
    }
  },
  created() {
    this.isMobile = /(iPhone|iPad|iPod|iOS|Android)/i.test(window.navigator.userAgent);
  },
  methods: {
    
  },
  components: {
    copyRight,
    topHeader,
  }
}
</script>